package com.zgkxzx.sedapt;


import com.zgkxzx.share.SharePref;

/**
 * 创建者   zgkxzx
 * 创建日期 2018/5/19.
 * 功能描述
 */

public class Student {

    @SharePref("name1")
    String name;

    @SharePref("12")
    int age;

    @SharePref("0310412")
    String No;

    @SharePref("true")
    boolean sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNo() {
        return No;
    }

    public void setNo(String no) {
        No = no;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean male) {
        sex = male;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", No='" + No + '\'' +
                ", sex=" + sex +
                '}';
    }
}
